/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/27/2010                        
            */

             using System;
            using System.Collections.Generic; 
            using System.Text;  
            namespace BusinessObject{
             /// <summary>
                    /// Define MatHangTonKhoResult object. This object used to contain data that returned from data layer.
                /// </summary>
                public class MatHangTonKhoResult {
		#region fields
		private int maKho; 
		private string maMatHang; 
		private Int64 soLuongTon; 
		private int maDonViTinh; 
 #endregion fields

		 #region properties
          /// <summary>
            /// Define MaKho Property.
            /// </summary>
		public int MaKho {
			get { return this.maKho; }
			set { this.maKho = value; }
		}
          /// <summary>
            /// Define MaMatHang Property.
            /// </summary>
		public string MaMatHang {
			get { return this.maMatHang; }
			set { this.maMatHang = value; }
		}
          /// <summary>
            /// Define SoLuongTon Property.
            /// </summary>
		public Int64 SoLuongTon {
			get { return this.soLuongTon; }
			set { this.soLuongTon = value; }
		}
          /// <summary>
            /// Define MaDonViTinh Property.
            /// </summary>
		public int MaDonViTinh {
			get { return this.maDonViTinh; }
			set { this.maDonViTinh = value; }
		}
              #endregion properties
		
		#region constructor
        /// <summary>
            /// Define default constructor for MatHangTonKhoResultResult Object.
            /// </summary>
		public MatHangTonKhoResult (){
			this.maKho = int.MinValue;
			this.maMatHang = string.Empty;
			this.soLuongTon = Int64.MinValue;
			this.maDonViTinh = int.MinValue;            
		}
 /// <summary>
            /// Define constructor for MatHangTonKhoResultResult Object.
            /// </summary>
		public MatHangTonKhoResult ( int maKho, 
					string maMatHang, 
					Int64 soLuongTon, 
					int maDonViTinh ) {
			this.maKho = maKho;
			this.maMatHang = maMatHang;
			this.soLuongTon = soLuongTon;
			this.maDonViTinh = maDonViTinh;             
		}
		#endregion constructor
	}
}